<%--
  Created by IntelliJ IDEA.
  User: 毛勇琪大帅哥
  Date: 2017/12/7
  Time: 14:22
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<html>
<head>
  <title>Title</title>
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.min.css"
        type="text/css"/>
  <style>
    div {
      text-align: center;
    }

    p {
      text-align: center;
    }
  </style>
</head>
<body>
<div style="width: 70%" class="row">
  <p>${shipper.shipperName} : ${check.code}</p>
  <p></p>
  <p>[收货地址]${order.address}</p>
  <ul>
    <c:forEach items="${result.traces}" var="traces">
      <li>${traces.acceptTime} - ${traces.acceptStation}</li>
    </c:forEach>
    <c:if test="${result == null}">
      <c:if test="${order.state == 2}">
        <li>${order.ordertime} - 已于浙江省杭州市余杭区仓库发货</li>
      </c:if>
      <c:if test="${order.state == 3}">
        <li>${order.ordertime} - 已于浙江省杭州市余杭区仓库发货</li>
        <li>${order.ordertime + 5} - ${order.address}</li>
        <li>收货人 - ${order.name}</li>
      </c:if>
    </c:if>
  </ul>
</div>

</body>
</html>
